import request from '@/utils/request'

export function webPageList(data) {
  return request({
    url: '/shop/webpage/list',
    method: 'post',
    data
  })
}

export function webPageDelete(data) {
  return request({
    url: '/shop/webpage/delete',
    method: 'post',
    data
  })
}

export function webPageAdd(data) {
  return request({
    url: '/shop/webpage/add',
    method: 'post',
    data
  })
}

export function webPageEdit(data) {
  return request({
    url: '/shop/webpage/edit',
    method: 'post',
    data
  })
}

export function webPageDetail(data) {
  return request({
    url: '/shop/webpage/detail',
    method: 'post',
    data
  })
}
